projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1354a1
)
menushell: Hide model submenus by default
author
Timm Bäder
<mail@baedert.org>
Sun, 16 Jul 2017 15:19:17 +0000
(17:19 +0200)
committer
Matthias Clasen
<mclasen@redhat.com>
Thu, 20 Jul 2017 01:27:16 +0000
(21:27 -0400)
gtk/gtkmenushell.c
patch
|
blob
|
history
diff --git
a/gtk/gtkmenushell.c
b/gtk/gtkmenushell.c
index c99c470bea587367c47da95d3b80d30fd3b2123f..cd23d0ae7cbc582fb6ed43e117ca0c62a92a7285 100644
(file)
--- a/
gtk/gtkmenushell.c
+++ b/
gtk/gtkmenushell.c
@@
-1822,6
+1822,7
@@
gtk_menu_shell_tracker_insert_func (GtkMenuTrackerItem *item,
g_object_bind_property (item, "label", widget, "text", G_BINDING_SYNC_CREATE);
submenu = GTK_MENU_SHELL (gtk_menu_new ());
+ gtk_widget_hide (GTK_WIDGET (submenu));
/* We recurse directly here: we could use an idle instead to
* prevent arbitrary recursion depth. We could also do it